package net.office.mapper;

import java.util.List;
import net.office.bean.StaffTrain;
import net.office.bean.StaffTrainExample;
import org.apache.ibatis.annotations.Param;

public interface StaffTrainMapper {
    long countByExample(StaffTrainExample example);

    int deleteByExample(StaffTrainExample example);

    int deleteByPrimaryKey(Integer staffTrainId);

    int insert(StaffTrain record);

    int insertSelective(StaffTrain record);

    List<StaffTrain> selectByExample(StaffTrainExample example);

    StaffTrain selectByPrimaryKey(Integer staffTrainId);

    int updateByExampleSelective(@Param("record") StaffTrain record, @Param("example") StaffTrainExample example);

    int updateByExample(@Param("record") StaffTrain record, @Param("example") StaffTrainExample example);

    int updateByPrimaryKeySelective(StaffTrain record);

    int updateByPrimaryKey(StaffTrain record);
}